<?php
session_start();
if (isset($_SESSION['correo'])) {
    $correo=$_SESSION['correo'];
    include_once 'controla_contacto.php';
    $control = new controla_contacto();
    $control->buscar_todos($correo);

}
else {
    header("Location: /Multimedia/Vista/Login.html");
    session_destroy();
}
?>
